package com.nuc.zyt.Pojo;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @ClassName Teacher
 * @Description TODO
 * @Author 耀酱
 * @Date 2023/6/7 10:06
 * @Version 1.0
 */
@Data
@Component("teacher")
public class Teacher {
    private Integer id;
    //@Value("洪军")
    private String name;
    //@Value("50")
    private int age;
}
